6
3 4 4 25
2 1 0 10
3 1 1 15
1 5 0 12
2 0 3 10
1 0 8 20